.class Lcom/waiqin365/lightapp/im/adapter/bz;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/im/adapter/by;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/im/adapter/by;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/im/adapter/bz;->a:Lcom/waiqin365/lightapp/im/adapter/by;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 3

    const/16 v2, 0x8

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/adapter/bz;->a:Lcom/waiqin365/lightapp/im/adapter/by;

    iget-object v0, v0, Lcom/waiqin365/lightapp/im/adapter/by;->a:Lcom/hyphenate/chat/EMMessage;

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMMessage;->getType()Lcom/hyphenate/chat/EMMessage$Type;

    move-result-object v0

    sget-object v1, Lcom/hyphenate/chat/EMMessage$Type;->IMAGE:Lcom/hyphenate/chat/EMMessage$Type;

    if-ne v0, v1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/adapter/bz;->a:Lcom/waiqin365/lightapp/im/adapter/by;

    iget-object v0, v0, Lcom/waiqin365/lightapp/im/adapter/by;->b:Lcom/waiqin365/lightapp/im/adapter/cs;

    iget-object v0, v0, Lcom/waiqin365/lightapp/im/adapter/cs;->c:Landroid/widget/ProgressBar;

    invoke-virtual {v0, v2}, Landroid/widget/ProgressBar;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/adapter/bz;->a:Lcom/waiqin365/lightapp/im/adapter/by;

    iget-object v0, v0, Lcom/waiqin365/lightapp/im/adapter/by;->b:Lcom/waiqin365/lightapp/im/adapter/cs;

    iget-object v0, v0, Lcom/waiqin365/lightapp/im/adapter/cs;->b:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/adapter/bz;->a:Lcom/waiqin365/lightapp/im/adapter/by;

    iget-object v0, v0, Lcom/waiqin365/lightapp/im/adapter/by;->c:Lcom/waiqin365/lightapp/im/adapter/bk;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/im/adapter/bk;->notifyDataSetChanged()V

    return-void
.end method
